package com.fxhy.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.fxhy.bean.AgentUser;


public interface UserInfoRepository extends JpaRepository<AgentUser, Integer>{

	AgentUser findByUserId(Integer userId);

	List<AgentUser> findByRoleId(Integer i);

	List<AgentUser> findByPhoneNum(String phoneNum);
}
